package cn.aspart.security.controller.page;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(path = "/view")
public class ViewController {
    // 成功页面
    @GetMapping("/login")
    public String login() {
        return "login";
    }

    // 成功页面
    @GetMapping("/success")
    public String success() {
        return "success";
    }

    // 失败页面
    @GetMapping("/fail")
    public String fail() {
        return "fail";
    }
}
